try{
	var myWin = window.open("http://www.chiroliezele.be/sam/sandbox/test.html");
	var XHRConstruct = myWin.XMLHttpRequest;
//	var xhr = new XHRConstruct();
	var xhr = new XMLHttpRequest();
	xhr.open("GET","js-tests/xhr-comm.js",true);
	xhr.onreadystatechange = function() {
		if(xhr.readyState == 4 && xhr.status == 200) {
			alert(xhr.responseText);
		}
	}
	alert(xhr.responseText);
	xhr.send(null);
} catch(e) {
	alert(e.message);
}finally{
	window.close.apply(myWin);
}
